#include <iostream>
using namespace std;

int practice1_9(){
    int m_Sum = 0;
    for (int i = 50;i <= 100;i++){
        m_Sum += i;
//        cout << m_Sum << endl;
    }

    return m_Sum;
}

void practice1_10(){
    for (int i = 10;i >= 0;i--){
        cout << i << "\t";
    }
}

void practice1_11(){
    int m_A = 0, m_B = 0;
    cout << "请输入第一个数：";
    cin >> m_A;
    cout << "请输入第二个数：";
    cin >> m_B;

    for (int i = m_A; i <= m_B; i++) {
        cout << i << "\t";
    }
}

int main(){
    int p1 = practice1_9();
    cout << p1 << endl;

    practice1_10();
    cout << endl;
    practice1_11();

    return 0;
}
